using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Library.Data
{
    public abstract class EntityBase<T>
    {
        private static T instance = new T();

        public static T Instance
        {
            get { return EntityBase<T>.instance; }
            set { EntityBase<T>.instance = value; }
        }

        public virtual void Save(T obj) { }

        public virtual void Insert(T obj) { }

        public virtual void Update(T obj) { }

        public virtual void Delete(T obj) { }
        
    }
}
